#include "StdAfx.h"
#include "Input.h"
#include <stdlib.h>


Input::Input(float inputValue)
{
	_value = inputValue;
	_weight = (float((rand()%100))/10000.0f);  //static cast???
}

Input::Input()
{
	_value = 0;
	static_cast<float>((rand()%100+1)/10000.0); // cast here???
}

Input::Input( float inputValue, float weight )
{
	_value = inputValue;
	_weight = weight;
}


Input::~Input(void)
{
}

void Input::setWeight(float weight)
{
	_weight = weight;
}

float Input::getInputValue()
{
	return _value;
}

float Input::getWeight()
{
	return _weight;
}

void Input::setInputValue( float inputValue )
{
	_value = inputValue;
}
